package arsmodeller.model;

import org.eclipse.swt.graphics.Color;
import org.eclipse.ui.internal.handlers.WizardHandler.New;

public class Service extends Node {
	private String pathToWSDL;
	private Color color;
	public static final String PROPERTY_WSLD = "WSDL";

	public Color getColor() {
		return color;
	}

	public void setColor(Color color) {
		Color oldColor = this.color;
		this.color = color;
		getListeners().firePropertyChange(PROPERTY_COLOR, oldColor, color);
	}

	public void setPathToWSDL(String text) {
		String oldPathtoWSDL = this.pathToWSDL;
		this.pathToWSDL = text;
		getListeners().firePropertyChange(PROPERTY_WSLD, oldPathtoWSDL, text);
	}

	public String getPathToWSDL() {
		return pathToWSDL;
	}

}